<html ng-app="cookbookApp">
<head>
  <script src="../vendor/angular.js"></script>
  <script src="application.js"></script>
</head>
<body ng-controller="MainController">
  <fieldset>
    <legend>Promise</legend>
    <button ng-click="resolve()">Resolve</button>
    <button ng-click="reject()">Reject</button>{{resultOne}}
  </fieldset>

  <fieldset>
    <legend>Result all</legend> {{resultAll}}
  </fieldset>
</body>
</html>